<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" href="../../css/aui.css">
    <link rel="stylesheet" href="../../css/normalUser.css">
    <link rel="stylesheet" type="text/css" href="../../css/sqjf.css"/>
    <link rel="stylesheet" href="../../css/pulice.css">
    <style>
        .center-rePas .span1{left: 2.5rem;top: .45rem;font-size: .9rem;}
        .center-rePas .span1 + input{padding-left: 3.5rem}
    </style>
    <script src="../../js/api.js"></script>
    <script src="../../js/libs/zepto.min.js"></script>
    <script src="../../js/vue.min.js"></script>
    <script src="../../js/vconsole.min.js"></script>
    <script src="../../js/vue-resource.min.js"></script>
    <script src="../../js/aui-toast.js"></script>
    <script src="../../js/common.js"></script>
    <script>
        setToken();
        $(function () {
            $('.hm-bar').load('../../data/headerOther.html',function () {
                $(this).find('.head-main').text('申请积分');
                $(this).find('.hm-bar-box').css('position','static');
                $(this).find('.head-left').on('tap',function () {
                    window.history.back();
                })
            });
            var app = new Vue({
                el: '#app',
                data:{
                    "payMoney":"100.00",
                    account:{}
                },
                mounted:function () {
                    this.$nextTick(function () {
                        this.aaa()
                    })
                },
                methods:{
                    aaa:function () {
                        this.$http.get(SURL+"app/score/buySubmit",{params:{payMoney:this.payMoney}}).then(function (res) {
                            console.log(res.body.data);
                            if(res.body.status == 1) {
                                this.account = res.body.data;
                            }else {
                                
                            }
                        }).catch(function (req) {
                            
                        })
                    }
                }
            })
        })
    </script>
    <title>申请积分</title>
</head>
<body>
    <div class="hm-bar"></div>
    <div id="app">
        <ul class="center-rePas mt149">
            <li>申请金额</li>
            <li style="position: relative"><span class="span1">￥</span><input type="text" placeholder="请输入充值金额"></li>
        </ul>
        <ul class="center-rePas">
            <li>获得积分</li>
            <li><input type="text" readonly></li>
        </ul>
        <a href="#" class="sqgz">
            <span>申请规则</span>
            <img src="../../img/goIcon.png"/>
        </a>
        <a class="btn btn-blue btn-mt2" href="">确定</a>
    </div>
</body>
</html>